<T:ViewBase x:Class="WPFExcelReport.MGANTT"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
             mc:Ignorable="d" 
            x:Name="TV"
            Loaded="Window_Loaded"
             xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
             >
    <T:ViewBase.Resources>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
    </T:ViewBase.Resources>
    <Border BorderThickness="0,0,0,0" BorderBrush="LightGreen" Name="bordergant">
        <Border.Background>
            <SolidColorBrush Color="{Binding BgColor,ElementName=TV}"></SolidColorBrush>
        </Border.Background>
        <Grid Name="MGrid" Grid.Row="0">
            <Grid.RowDefinitions>
                <RowDefinition Height="20"></RowDefinition>
                <RowDefinition Height="20"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="205"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="0" Grid.RowSpan="2" Grid.Column="0" Width="2" Name="LineNow" >
                <Rectangle.Fill>
                    <SolidColorBrush Color="Red" ></SolidColorBrush>
                </Rectangle.Fill>
            </Rectangle>
        </Grid>
    </Border>
</T:ViewBase>
